package com.itheima.qiniu;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "qiniu.kodo")
public class QiniuKodoConfig {
    private String ACCESS_KEY;
    private String SECRET_KEY;
    private String bucketname;
    private String url;
    private User user;

    @Data
    public static class User {
        private String username;
        private String password;
    }

}
